// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'lib-flexible'
import VueLazyload from 'vue-lazyload'
Vue.config.productionTip = false

import Vant from 'vant';
import 'vant/lib/index.css';
// import html2canvas from 'html2canvas';
// Vue.use(html2canvas)
Vue.use(Vant);
Vue.prototype.$bus=new Vue()
import VueTouch from 'vue-touch'     
Vue.use(VueTouch, {name: 'v-touch'})   
// require('vue2-animate/dist/vue2-animate.min.css')
import 'vue2-animate/dist/vue2-animate.min.css';
// Vue.use(VueLazyload)
 
// // or with options
Vue.use(VueLazyload, {
  preLoad: 1.3,
  attempt: 3
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
